import request from '@/utils/request'

// 查询用户,会员列表
export function listWxMemberUser(query) {
  return request({
    url: '/wx/wxMemberUser/list',
    method: 'get',
    params: query
  })
}

// 查询用户,会员详细
export function getWxMemberUser(id) {
  return request({
    url: '/wx/wxMemberUser/' + id,
    method: 'get'
  })
}

// 新增用户,会员
export function addWxMemberUser(data) {
  return request({
    url: '/wx/wxMemberUser',
    method: 'post',
    data: data
  })
}

// 修改用户,会员
export function updateWxMemberUser(data) {
  return request({
    url: '/wx/wxMemberUser',
    method: 'put',
    data: data
  })
}

// 删除用户,会员
export function delWxMemberUser(id) {
  return request({
    url: '/wx/wxMemberUser/' + id,
    method: 'delete'
  })
}

// 导出用户,会员
export function exportWxMemberUser(query) {
  return request({
    url: '/wx/wxMemberUser/export',
    method: 'get',
    params: query
  })
}